#ifndef __HEADER_DES__
#define __HEADER_DES__

#include "crypto/bits.h"
#include "crypto/types.h"

// 产生源密钥
void generateOriginalCryptoKey(byte *buffer);
// des入口
void des(byte *text, byte *cryptoText, byte *desOriginKey, uint len, CRYPTO_OPT opt);

// DES key generator function
void generateFinalDesKey(uint64 clientRandom, uint64 serverRandom, uint64 premasterKey, char *DesKey);

#endif